import { createRoot } from 'react-dom/client'
import zhCN from 'antd/locale/zh_CN'
import { ConfigProvider } from 'antd'
import React from 'react'

import 'normalize.css'
import './assets/css/common.scss'
import App from './App.tsx'
// import './assets/css/common.less'
import dayjs from 'dayjs'
import 'dayjs/locale/zh-cn'

// 设置dayjs语言为中文
dayjs.locale('zh-cn')

createRoot(document.getElementById('root')!).render(
  <ConfigProvider locale={zhCN}>
    <App />
  </ConfigProvider>
)
